package cn.wolfcode._IOday01_.text002;

public class Text {
    public static void main(String[] args){
        Runnable r = new Resource() ;
        Thread a = new Thread(r,"二狗");
        Thread b = new Thread(r,"三狗");
        a.start();
        b.start();

    }
}
